# -*- coding: utf-8 -*-
from django.conf.urls.defaults import *

from main.views import *

urlpatterns = patterns('',
    url(r'^$', index, name="dramas-index"),
    url(r'^cate-i/(\d+)/$', category_i, name="dramas-category_i"),
    url(r'^category/(\d+)/$', category, name="dramas-category"),
    url(r'^video/detail/(\d+)$', detail, name="dramas-detail"),
    url(r'^video/detail/(\d+)/(.+)$', detail_watch, name="dramas-detail-watch"),
    url(r'^comment/video/detail/(\d+)/(.+)/$', detail_watch_comment, name="dramas-detail-watch-comment"),
    url(r'^help/$', help, name="dramas-help"),
    url(r'^category/(\d+)/watched/$', watched, name="dramas-watched"),
)